<?php


function st_task_import_state($db,$params){
	
	
	
	
	
	//error_log(var_export($params,true),3,'aa.log');
	
	
	include_once dirname(dirname(dirname(__FILE__))).'/mgtv_v2/mgtv_init.php';
	
	
	$re = statistics_model::get_statistics($params['sp'], $params,$db);
	
	return $re;
}
function st_task_num($db,$params){





	//error_log(var_export($params,true),3,'aa.log');


	include_once dirname(dirname(dirname(__FILE__))).'/mgtv_v2/mgtv_init.php';


	$num = statistics_model::get_statistics_num($params['sp'], $params,$db);

	return $num;
}
?>